package com.dog.basics.dao.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dog.basics.bean.model.sys.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 系统角色表 Mapper 接口
 * </p>
 *
 * @author guoy
 * @since 2020-03-19
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {
    void deleteBatch(@Param("roleIds") Long[] roleIds);

    List<Long> listRoleIdByUserId(Long userId);
}
